Link to this headingATProto
Data like a key value store stored in a Merkel tree with signatures at://did:plc:user/com.example.repo/record_key
Universal did:* resolver
AT Protocol Explorer
Link to this headingGetting Information about a user
Note: Most users dont use well-known and instead use the DNS entry
Getting the users DID by DNS:
>>> dig
"did=did:plc:z72i7hdynmk6r22z27h6tvur"
>>> dig
"did=did:plc:oky5czdrnfjpqslsw2a5iclo"
Gettting the users DID by wellknown:
Getting the user info from plc.directory:
>>> curl |
{
{
}
{
}
}
Link to this headingUsing XRPC
Getting the Profile of a domain:
>>> curl "https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor=did:plc:z72i7hdynmk6r22z27h6tvur" |
>>> curl "https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor=bsky.app" |
{
}
>>> curl "https://public.api.bsky.app/xrpc/app.bsky.feed.getAuthorFeed?actor=did:plc:z72i7hdynmk6r22z27h6tvur" |
Link to this headingMerkel Tree Inforamtion
Example:
>>> curl "https://puffball.us-east.host.bsky.network/xrpc/com.atproto.sync.getHead?did=did:plc:z72i7hdynmk6r22z27h6tvur"
}
Link to this headingGet the full repository (CAR file with signatures and Merkle tree)
Example:
Link to this headingGet the Signatures
Link to this headingUsing the serviceEndpoint
#Get the collections/repos of a specific user
>>> curl "https://puffball.us-east.host.bsky.network/xrpc/com.atproto.repo.describeRepo?repo=did:plc:z72i7hdynmk6r22z27h6tvur"
#Get the information contained in a specific collection
>>> curl "https://puffball.us-east.host.bsky.network/xrpc/com.atproto.repo.listRecords?repo=did:plc:z72i7hdynmk6r22z27h6tvur&collection=app.bsky.feed.post"
#Get a specific element in the collection
>>> curl "https://puffball.us-east.host.bsky.network/xrpc/com.atproto.repo.getRecord?repo=did:plc:z72i7hdynmk6r22z27h6tvur&collection=app.bsky.graph.list&rkey=3livawoscdx2l"